Java repeat last 3 letters of string

113

Java repeat last 3 letters of string -

word + word.substring(word.length()-3, word.length())

Comments

Submit
0 Comments